<h1>
    <?=$this->title ?>
</h1>
<div id="container" style="margin-top: -50px;">
<?
    $this->messages();

    switch ($this->settings_id)
    {
        case 1: // Default profile tenplates
            echo $this->render("settings/templates.phtml");
	        break;
	
        case 2: // DNS
            echo $this->render("settings/dns.phtml");
        break;

        case 3:
            echo $this->codecs;
            break;

        case 6: // TFTP
            echo $this->render("settings/tftp.phtml");
            break;

        case 7: // DHCP
            echo $this->render("settings/dhcp.phtml");
            break;

        case 8: // Common
            echo $this->render("settings/common.phtml");
            break;

        case 9:
            echo $this->render("settings/web_access.phtml");
            break;
    };
?>
</div>